<?php
// 本文档自动生成，仅供测试运行
class AboutUsAction extends ColorBabyCommonAction
{


	public function index(){

		$model = M ( "viewbulletin" );
		$condition['code'] = 'gywm';
		// 查询数据
		$list = $model->where($condition)->select();
		$this->getIndexCssStyle("gywm") ;
		$this->assign ( "aboutusinfo", $list );
		$this->display() ;

			
	}

	/**
	 +----------------------------------------------------------
	 * 默认操作
	 +----------------------------------------------------------
	 */
	/*
	 public function index()
	 {
	 $this->display(THINK_PATH.'/Tpl/Autoindex/hello.html');
	 }
	 */
	/**
	 +----------------------------------------------------------
	 * 探针模式
	 +----------------------------------------------------------
	 */
	public function checkEnv()
	{
		load('pointer',THINK_PATH.'/Tpl/Autoindex');//载入探针函数
		$env_table = check_env();//根据当前函数获取当前环境
		echo $env_table;
	}

}
?>